package com.team7.happycommunity.businessservice.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (ServiceOrder)实体类
 *
 * @author makejava
 * @since 2020-03-28 10:41:54
 */
@ApiModel(value = "服务订单实体类")
public class ServiceOrder implements Serializable {
    private static final long serialVersionUID = -86406737992191330L;
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "服务id")
    private Integer serviceid;
    @ApiModelProperty(value = "被服务者id")
    private Integer userid;
    @ApiModelProperty(value = "开始时间")
    private Date starttime;
    @ApiModelProperty(value = "结束时间")
    private Date endtime;
    @ApiModelProperty(value = "订单状态")
    private Integer status;
    @ApiModelProperty(value = "订单号")
    private String ordernumber;
    @ApiModelProperty(value = "服务")
    private PpPayservice ppPayservice;

    public ServiceOrder(Integer id, Integer serviceid, Integer userid, Date starttime, Date endtime, Integer status, String ordernumber) {
        this.id = id;
        this.serviceid = serviceid;
        this.userid = userid;
        this.starttime = starttime;
        this.endtime = endtime;
        this.status = status;
        this.ordernumber = ordernumber;
    }

    public ServiceOrder() {
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public PpPayservice getPpPayservice() {
        return ppPayservice;
    }

    public void setPpPayservice(PpPayservice ppPayservice) {
        this.ppPayservice = ppPayservice;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getServiceid() {
        return serviceid;
    }

    public void setServiceid(Integer serviceid) {
        this.serviceid = serviceid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Date getStarttime() {
        return starttime;
    }

    public void setStarttime(Date starttime) {
        this.starttime = starttime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getOrdernumber() {
        return ordernumber;
    }

    public void setOrdernumber(String ordernumber) {
        this.ordernumber = ordernumber;
    }

}